package net.demo2;

public class Test {


    public static void main(String[] args) {
        Cat cat = new Cat();
        System.out.println(cat.age + cat.name);
        cat.miaoMiao();
    }

    public static void main0(String[] args) {
        Cat cat = new Cat();
        cat.name = "肥波";
        Dog dog = new Dog();
        dog.name = "小花";
        cat.miaoMiao();
        dog.bark();
    }
}
